import Vue from 'vue'
import App from '@/views/app/index.vue'
import { router } from '@/router.js'
import Axios from 'axios'
import store from '@/store/index.js'

import '@/assets/css/normalize.css'

import Element from 'element-ui'
Vue.use(Element, { size: 'small', zIndex: 3000 })

Axios.defaults.baseURL = process.env.VUE_APP_axiosDefaultsBaseURL
Axios.defaults.timeout = 60000
Vue.prototype.$axios = Axios

new Vue({
  render: h => h(App),
  router: router,
  store: store
}).$mount('#app')
